﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PluralSightTut
{
    public class Worker : Employee, Storable
    {
        
        public override String AbstractMethodofEmployee()
        {
            return "Worker Abstract Method(Employee)";
            //Salary = Salary * 5;
            //return Salary;// = Salary + 0.02;
        }


        public override string VirtualMethodofEmployee()
        {
            return "Worker Virtual Method(Employee)";
        }

        public string InterfaceMethodWrite()
        {
            Salary = Salary + 10;
            return "Worker Interface Method1(Storable) : " + Salary;
        }

        public string InterfaceMethodRead()
        {
            return "Worker Interface Method2(Storable)";
        }

        public string OtherMethodofWorker()
        {
            return "Worker Member Method";
            //Console.WriteLine("Other Methodof DBEntry");
        }


    }
}
